import request from '@/utils/request'

// 查询关于我们信息模块列表
export function listGywm_banner(query) {
  return request({
    url: '/cms/gywm_banner/list',
    method: 'get',
    params: query
  })
}

// 查询关于我们信息模块详细
export function getGywm_banner(id) {
  return request({
    url: '/cms/gywm_banner/' + id,
    method: 'get'
  })
}

// 新增关于我们信息模块
export function addGywm_banner(data) {
  return request({
    url: '/cms/gywm_banner',
    method: 'post',
    data: data
  })
}

// 修改关于我们信息模块
export function updateGywm_banner(data) {
  return request({
    url: '/cms/gywm_banner',
    method: 'put',
    data: data
  })
}

// 删除关于我们信息模块
export function delGywm_banner(id) {
  return request({
    url: '/cms/gywm_banner/' + id,
    method: 'delete'
  })
}
